package javaCode.chapter09.abstract_;

public class Z extends Template{

    //计算任务
    //1+...+10000
    public void job() { //这里也，实现了父类的job方法
        long num = 0;
        for (long i = 1; i <= 100000; i++) {
            num -= i;
        }

    }
}
